package com.yfp.group.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yfp.group.domain.EnterpriseOrderClient;
import com.yfp.group.service.EnterpriseOrderClientService;
import com.yfp.group.mapper.EnterpriseOrderClientMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author admin
 * @description 针对表【enterprise_order_client(企业订单用户领取)】的数据库操作Service实现
 * @createDate 2024-08-10 09:42:39
 */
@Service
public class EnterpriseOrderClientServiceImpl extends ServiceImpl<EnterpriseOrderClientMapper, EnterpriseOrderClient> implements EnterpriseOrderClientService {

    @Resource
    private EnterpriseOrderClientMapper enterpriseOrderClientMapper;

    @Override
    public List<EnterpriseOrderClient> listByOrderSnAndRoomNum(List<String> orderSnList, String roomNum) {
        return enterpriseOrderClientMapper.listByOrderSnAndRoomNum(orderSnList, roomNum);
    }

    @Override
    public Integer getOrderComboIds(String enterpriseOrderSn) {
        return enterpriseOrderClientMapper.getOrderComboIds(enterpriseOrderSn);
    }
}




